# -*- coding:utf8 -*-
# @Time : 2022/12/23 5:17 下午
# @Author : WanJie Wu

import torch.nn as nn


class TextCNN(nn.Module):
    def __init__(self, n_vocab=20000, embed_size=50, dropout=0.1):
        super(TextCNN, self).__init__()
        self.embedding = nn.Embedding(
            num_embeddings=n_vocab,
            embedding_dim=embed_size,
            padding_idx=n_vocab-1
        )
        self.dropout = nn.Dropout(dropout)
        self.fc = nn.Linear()

    def forward(self):
        pass
